package com.elric.mall.mapper;

import com.elric.mall.model.KzNewProject;
import com.elric.mall.model.KzNewProjectExample;
import java.util.List;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

@Repository
@Mapper
public interface KzNewProjectMapper {
    long countByExample(KzNewProjectExample example);

    int deleteByExample(KzNewProjectExample example);

    int deleteByPrimaryKey(Long id);

    int insert(KzNewProject record);

    int insertBatch(List<KzNewProject> records);

    int insertSelective(KzNewProject record);

    List<KzNewProject> selectByExampleWithBLOBs(KzNewProjectExample example);

    List<KzNewProject> selectByExample(KzNewProjectExample example);

    KzNewProject selectByPrimaryKey(Long id);

    int updateByExampleSelective(@Param("record") KzNewProject record, @Param("example") KzNewProjectExample example);

    int updateByExampleWithBLOBs(@Param("record") KzNewProject record, @Param("example") KzNewProjectExample example);

    int updateByExample(@Param("record") KzNewProject record, @Param("example") KzNewProjectExample example);

    int updateByPrimaryKeySelective(KzNewProject record);

    int updateByPrimaryKeyWithBLOBs(KzNewProject record);

    int updateByPrimaryKey(KzNewProject record);
}